
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>GDAL简介 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="GDAL数据基本操作.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../Python基础/">
            
                <a href="../Python基础/">
            
                    
                    Python基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../Python基础/Python环境搭建及基本数据类型.html">
            
                <a href="../Python基础/Python环境搭建及基本数据类型.html">
            
                    
                    Python环境搭建及基本数据类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../Python基础/运算符及字符串.html">
            
                <a href="../Python基础/运算符及字符串.html">
            
                    
                    运算符及字符串
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../Python基础/序列与字典.html">
            
                <a href="../Python基础/序列与字典.html">
            
                    
                    序列与字典
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../Python基础/流程控制语句.html">
            
                <a href="../Python基础/流程控制语句.html">
            
                    
                    流程控制语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../Python基础/函数.html">
            
                <a href="../Python基础/函数.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../Python基础/面向对象编程初识.html">
            
                <a href="../Python基础/面向对象编程初识.html">
            
                    
                    面向对象编程初识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../Python基础/面向对象编程高级.html">
            
                <a href="../Python基础/面向对象编程高级.html">
            
                    
                    面向对象编程高级
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="../Python基础/Python科学计算.html">
            
                <a href="../Python基础/Python科学计算.html">
            
                    
                    Python科学计算
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="../Python基础/空间数据处理环境搭建.html">
            
                <a href="../Python基础/空间数据处理环境搭建.html">
            
                    
                    空间数据处理环境搭建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../空间数据基础/">
            
                <a href="../空间数据基础/">
            
                    
                    空间数据基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../空间数据基础/空间参考系统.html">
            
                <a href="../空间数据基础/空间参考系统.html">
            
                    
                    空间参考系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../空间数据基础/地图投影.html">
            
                <a href="../空间数据基础/地图投影.html">
            
                    
                    地图投影
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../空间数据基础/空间数据.html">
            
                <a href="../空间数据基础/空间数据.html">
            
                    
                    空间数据
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="./">
            
                <a href="./">
            
                    
                    GDAL空间数据处理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.4.1" data-path="GDAL简介.html">
            
                <a href="GDAL简介.html">
            
                    
                    GDAL简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="GDAL数据基本操作.html">
            
                <a href="GDAL数据基本操作.html">
            
                    
                    GDAL数据基本操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="GDAL数据基本操作/打开栅格数据的正确方式.html">
            
                <a href="GDAL数据基本操作/打开栅格数据的正确方式.html">
            
                    
                    打开栅格数据的正确方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2" data-path="GDAL数据基本操作/栅格数据格式转换.html">
            
                <a href="GDAL数据基本操作/栅格数据格式转换.html">
            
                    
                    栅格数据格式转换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.3" data-path="GDAL数据基本操作/栅格数据创建与保存.html">
            
                <a href="GDAL数据基本操作/栅格数据创建与保存.html">
            
                    
                    栅格数据创建与保存
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.4" data-path="GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.html">
            
                <a href="GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.html">
            
                    
                    读取HDF或者NetCDF格式的栅格数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.5" data-path="GDAL数据基本操作/栅格数据投影转换.html">
            
                <a href="GDAL数据基本操作/栅格数据投影转换.html">
            
                    
                    栅格数据投影转换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.6" data-path="GDAL数据基本操作/栅格数据裁剪.html">
            
                <a href="GDAL数据基本操作/栅格数据裁剪.html">
            
                    
                    栅格数据裁剪
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.7" data-path="GDAL数据基本操作/打开Shapefile文件的正确方式.html">
            
                <a href="GDAL数据基本操作/打开Shapefile文件的正确方式.html">
            
                    
                    打开Shapefile文件的正确方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.8" data-path="GDAL数据基本操作/创建Shapefile文件并写入数据.html">
            
                <a href="GDAL数据基本操作/创建Shapefile文件并写入数据.html">
            
                    
                    创建Shapefile文件并写入数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.9" data-path="GDAL数据基本操作/矢量数据投影转换.html">
            
                <a href="GDAL数据基本操作/矢量数据投影转换.html">
            
                    
                    矢量数据投影转换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="Fiona矢量数据处理/REDAME.md">
            
                <span>
            
                    
                    Fiona矢量数据处理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.3.1" data-path="Fiona矢量数据处理/Fiona简介及Shapefile数据读取.html">
            
                <a href="Fiona矢量数据处理/Fiona简介及Shapefile数据读取.html">
            
                    
                    Fiona简介及Shapefile数据读取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.2" data-path="Fiona矢量数据处理/使用Fiona创建Shapefile矢量数据.html">
            
                <a href="Fiona矢量数据处理/使用Fiona创建Shapefile矢量数据.html">
            
                    
                    使用Fiona创建Shapefile矢量数据
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="Rasterio栅格数据处理/README.md">
            
                <span>
            
                    
                    Rasterio栅格数据处理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.4.1" data-path="Rasterio栅格数据处理/使用Rasterio读取栅格数据.html">
            
                <a href="Rasterio栅格数据处理/使用Rasterio读取栅格数据.html">
            
                    
                    使用Rasterio读取栅格数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4.2" data-path="Rasterio栅格数据处理/使用Rasterio创建栅格数据.html">
            
                <a href="Rasterio栅格数据处理/使用Rasterio创建栅格数据.html">
            
                    
                    使用Rasterio创建栅格数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4.3" data-path="Rasterio栅格数据处理/使用Rasterio做投影变换.html">
            
                <a href="Rasterio栅格数据处理/使用Rasterio做投影变换.html">
            
                    
                    使用Rasterio做投影变换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >GDAL简介</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="gdal&#x7B80;&#x4ECB;">GDAL&#x7B80;&#x4ECB;</h1>
<p>&#x4F5C;&#x8005;&#xFF1A;&#x963F;&#x632F;</p>
<p>&#x90AE;&#x7BB1;&#xFF1A;tanzhenyugis@163.com</p>
<p>&#x535A;&#x5BA2;&#xFF1A;<a href="https://blog.csdn.net/theonegis/article/details/80089375" target="_blank">https://blog.csdn.net/theonegis/article/details/80089375</a></p>
<p>&#x4FEE;&#x6539;&#x65F6;&#x95F4;&#xFF1A;2018-05-13</p>
<p>&#x58F0;&#x660E;&#xFF1A;&#x672C;&#x6587;&#x4E3A;&#x535A;&#x4E3B;&#x539F;&#x521B;&#x6587;&#x7AE0;&#xFF0C;&#x8F6C;&#x8F7D;&#x8BF7;&#x6CE8;&#x660E;&#x539F;&#x6587;&#x51FA;&#x5904;</p>
<hr>
<p>Geospatial Data Abstraction Library &#xFF08;<a href="http://www.gdal.org/" target="_blank">GDAL</a>&#xFF09;&#x662F;&#x4F7F;&#x7528;C/C++&#x8BED;&#x8A00;&#x7F16;&#x5199;&#x7684;&#x7528;&#x4E8E;&#x8BFB;&#x5199;&#x7A7A;&#x95F4;&#x6570;&#x636E;&#x7684;&#x4E00;&#x5957;&#x8DE8;&#x5E73;&#x53F0;&#x5F00;&#x6E90;&#x5E93;&#x3002;&#x73B0;&#x6709;&#x7684;&#x5927;&#x90E8;&#x5206;GIS&#x6216;&#x8005;&#x9065;&#x611F;&#x5E73;&#x53F0;&#xFF0C;&#x4E0D;&#x8BBA;&#x662F;&#x5546;&#x4E1A;&#x8F6F;&#x4EF6;ArcGIS&#xFF0C;ENVI&#x8FD8;&#x662F;&#x5F00;&#x6E90;&#x8F6F;&#x4EF6;GRASS&#xFF0C;QGIS&#xFF0C;&#x90FD;&#x4F7F;&#x7528;&#x4E86;GDAL&#x4F5C;&#x4E3A;&#x5E95;&#x5C42;&#x6784;&#x5EFA;&#x5E93;&#x3002;</p>
<p>GDAL&#x5E93;&#x7531;OGR&#x548C;GDAL&#x9879;&#x76EE;&#x5408;&#x5E76;&#x800C;&#x6765;&#xFF0C;OGR&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#x77E2;&#x91CF;&#x77E2;&#x91CF;&#x6570;&#x636E;&#x7684;&#x89E3;&#x6790;&#xFF0C;GDAL&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x7A7A;&#x95F4;&#x6805;&#x683C;&#x6570;&#x636E;&#x7684;&#x8BFB;&#x5199;&#x3002;&#x6B64;&#x5916;&#xFF0C;&#x7A7A;&#x95F4;&#x53C2;&#x8003;&#x53CA;&#x5176;&#x6295;&#x5F71;&#x8F6C;&#x6362;&#x4F7F;&#x7528;&#x5F00;&#x6E90;&#x5E93; <a href="https://proj4.org" target="_blank">PROJ.4</a>&#x8FDB;&#x884C;&#x3002;</p>
<p>&#x76EE;&#x524D;&#xFF0C;GDAL&#x4E3B;&#x8981;&#x63D0;&#x4F9B;&#x4E86;&#x4E09;&#x5927;&#x7C7B;&#x6570;&#x636E;&#x7684;&#x652F;&#x6301;&#xFF1A;&#x6805;&#x683C;&#x6570;&#x636E;&#xFF0C;&#x77E2;&#x91CF;&#x6570;&#x636E;&#x4EE5;&#x53CA;&#x7A7A;&#x95F4;&#x7F51;&#x7EDC;&#x6570;&#x636E;&#xFF08;Geographic Network Model&#xFF09;&#x3002;</p>
<p>GDAL&#x63D0;&#x4F9B;&#x4E86;C/C++&#x501F;&#x53E3;&#xFF0C;&#x5E76;&#x4E14;&#x901A;&#x8FC7;<a href="http://www.swig.org/" target="_blank">SWIG</a>&#x63D0;&#x4F9B;&#x4E86;Python&#xFF0C;Java&#xFF0C;C#&#x7B49;&#x7684;&#x8C03;&#x7528;&#x501F;&#x53E3;&#x3002;&#x5F53;&#x6211;&#x4EEC;&#x5728;Python&#x4E2D;&#x8C03;&#x7528;GDAL&#x7684;API&#x51FD;&#x6570;&#x65F6;&#xFF0C;&#x5176;&#x5B9E;&#x5E95;&#x5C42;&#x6267;&#x884C;&#x7684;&#x662F;C/C++&#x7F16;&#x8BD1;&#x7684;&#x4E8C;&#x8FDB;&#x5236;&#x6587;&#x4EF6;&#x3002;</p>
<p>GDAL&#x4E0D;&#x4F46;&#x63D0;&#x4F9B;&#x4E86;API&#x501F;&#x53E3;&#x65B9;&#x4FBF;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x81EA;&#x5B9A;&#x4E49;&#x81EA;&#x5DF1;&#x7684;&#x529F;&#x80FD;&#xFF0C;&#x800C;&#x4E14;&#x8FD8;&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x7CFB;&#x5217;&#x5B9E;&#x7528;&#x5DE5;&#x5177;&#xFF08;Command Line Tools&#xFF09;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x65B9;&#x4FBF;&#x5FEB;&#x901F;&#x7684;&#x7A7A;&#x95F4;&#x6570;&#x636E;&#x5904;&#x7406;&#x3002;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x8FD9;&#x4E9B;&#x5B9E;&#x7528;&#x5DE5;&#x5177;&#xFF0C;&#x7ED3;&#x5408;Linux Shell&#x811A;&#x672C;&#x6216;&#x8005;Windows&#x6279;&#x5904;&#x7406;&#x811A;&#x672C;&#x8FDB;&#x884C;&#x5927;&#x6279;&#x91CF;&#x7A7A;&#x95F4;&#x6570;&#x636E;&#x7684;&#x6279;&#x91CF;&#x5904;&#x7406;&#x3002;</p>
<p>GDAL 1.x&#x7248;&#x672C;&#x4EE5;&#x524D;&#xFF0C;&#x5BF9;&#x4E8E;&#x6805;&#x683C;&#x548C;&#x77E2;&#x91CF;&#x6570;&#x636E;&#x7684;&#x8BFB;&#x5199;API&#x501F;&#x53E3;&#x8BBE;&#x8BA1;&#x662F;&#x76F8;&#x5BF9;&#x5206;&#x79BB;&#x7684;&#xFF0C;&#x4ECE;2.x&#x7248;&#x672C;&#x5F00;&#x59CB;&#xFF0C;&#x6805;&#x683C;&#x548C;&#x77E2;&#x91CF;&#x6570;&#x636E;&#x7684;API&#x8FDB;&#x884C;&#x4E86;&#x96C6;&#x6210;&#xFF0C;&#x5BF9;&#x5F00;&#x53D1;&#x8005;&#x66F4;&#x52A0;&#x53CB;&#x597D;&#x3002;&#x6211;&#x4EEC;&#x8FD9;&#x91CC;&#x7684;&#x793A;&#x4F8B;&#x90FD;&#x662F;&#x4EE5;2.x&#x7248;&#x672C;&#x4E3A;&#x4F8B;&#x3002;</p>
<h2 id="&#x6805;&#x683C;&#x6570;&#x636E;&#x7EC4;&#x7EC7;">&#x6805;&#x683C;&#x6570;&#x636E;&#x7EC4;&#x7EC7;</h2>
<p>GDAL&#x4E2D;&#x4F7F;&#x7528;dataset&#x8868;&#x793A;&#x4E00;&#x4E2A;&#x6805;&#x683C;&#x6570;&#x636E;&#xFF08;&#x4F7F;&#x7528;&#x62BD;&#x8C61;&#x7C7B;<a href="http://www.gdal.org/classGDALDataset.html" target="_blank">GDALDataset</a>&#x8868;&#x793A;&#xFF09;&#xFF0C;&#x4E00;&#x4E2A;dataset&#x5305;&#x542B;&#x4E86;&#x5BF9;&#x4E8E;&#x6805;&#x683C;&#x6570;&#x636E;&#x7684;&#x6CE2;&#x6BB5;&#xFF0C;&#x7A7A;&#x95F4;&#x53C2;&#x8003;&#x4EE5;&#x53CA;&#x5143;&#x6570;&#x636E;&#x7B49;&#x4FE1;&#x606F;&#x3002;&#x4E00;&#x5F20;GeoTIFF&#x9065;&#x611F;&#x5F71;&#x50CF;&#xFF0C;&#x4E00;&#x5F20;DEM&#x5F71;&#x50CF;&#xFF0C;&#x6216;&#x8005;&#x4E00;&#x5F20;&#x571F;&#x5730;&#x5229;&#x7528;&#x56FE;&#xFF0C;&#x5728;GDAL&#x4E2D;&#x90FD;&#x662F;&#x4E00;&#x4E2A;GDALDataset&#x3002;</p>
<ul>
<li><p>&#x5750;&#x6807;&#x7CFB;&#x7EDF;&#xFF08;&#x4F7F;&#x7528;OGC WKT&#x683C;&#x5F0F;&#x8868;&#x793A;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x7EDF;&#x6216;&#x8005;&#x6295;&#x5F71;&#x7CFB;&#x7EDF;&#xFF09;</p>
</li>
<li><p>&#x5730;&#x7406;&#x653E;&#x5C04;&#x53D8;&#x6362;&#xFF08;&#x4F7F;&#x7528;&#x653E;&#x5C04;&#x53D8;&#x6362;&#x8868;&#x793A;&#x56FE;&#x4E0A;&#x5750;&#x6807;&#x548C;&#x5730;&#x7406;&#x5750;&#x6807;&#x7684;&#x5173;&#x7CFB;&#xFF09;</p>
</li>
<li><p>GCPs&#xFF08;&#x5927;&#x5730;&#x63A7;&#x5236;&#x70B9;&#x8BB0;&#x5F55;&#x4E86;&#x56FE;&#x4E0A;&#x70B9;&#x53CA;&#x5176;&#x5927;&#x5730;&#x5750;&#x6807;&#x7684;&#x5173;&#x7CFB;&#xFF0C;&#x901A;&#x8FC7;&#x591A;&#x4E2A;&#x5927;&#x5730;&#x63A7;&#x5236;&#x70B9;&#x53EF;&#x4EE5;&#x91CD;&#x5EFA;&#x56FE;&#x4E0A;&#x5750;&#x6807;&#x548C;&#x5730;&#x7406;&#x5750;&#x6807;&#x7684;&#x5173;&#x7CFB;&#xFF09;</p>
</li>
<li><p>&#x5143;&#x6570;&#x636E;&#xFF08;&#x952E;&#x503C;&#x5BF9;&#x7684;&#x96C6;&#x5408;&#xFF0C;&#x7528;&#x4E8E;&#x8BB0;&#x5F55;&#x548C;&#x5F71;&#x50CF;&#x76F8;&#x5173;&#x7684;&#x5143;&#x6570;&#x636E;&#x4FE1;&#x606F;&#xFF09;</p>
</li>
<li><p>&#x6805;&#x683C;&#x6CE2;&#x6BB5;&#xFF08;&#x4F7F;&#x7528;<a href="http://www.gdal.org/classGDALRasterBand.html" target="_blank">GDALRasterBand</a>&#x7C7B;&#x8868;&#x793A;&#xFF0C;&#x771F;&#x6B63;&#x7528;&#x4E8E;&#x5B58;&#x50A8;&#x5F71;&#x50CF;&#x6805;&#x683C;&#x503C;&#xFF0C;&#x4E00;&#x4E2A;&#x6805;&#x683C;&#x6570;&#x636E;&#x53EF;&#x4EE5;&#x6709;&#x591A;&#x4E2A;&#x6CE2;&#x6BB5;&#xFF09;</p>
</li>
<li><p>&#x989C;&#x8272;&#x8868;&#xFF08;Color Table&#x7528;&#x4E8E;&#x56FE;&#x50CF;&#x663E;&#x793A;&#xFF09;</p>
</li>
</ul>
<h3 id="&#x5730;&#x7406;&#x653E;&#x5C04;&#x53D8;&#x6362;">&#x5730;&#x7406;&#x653E;&#x5C04;&#x53D8;&#x6362;</h3>
<p>&#x653E;&#x5C04;&#x53D8;&#x6362;&#x4F7F;&#x7528;&#x5982;&#x4E0B;&#x7684;&#x516C;&#x5F0F;&#x8868;&#x793A;&#x6805;&#x683C;&#x56FE;&#x4E0A;&#x5750;&#x6807;&#x548C;&#x5730;&#x7406;&#x5750;&#x6807;&#x7684;&#x5173;&#x7CFB;&#xFF1A;</p>
<p>$$
    \begin{matrix}
    X<em>{geo} = GT(0) + X</em>{pixel} <em> GT(1) + Y_{line} </em> GT(2) \
    Y<em>{geo} = GT(3) + X</em>{pixel} <em> GT(4) + Y_{line} </em> GT(5) \
    \end{matrix}</p>
<p>$$</p>
<p>&#xFF08;$X<em>{ge0}$, $Y</em>{ge0}$&#xFF09;&#x8868;&#x793A;&#x5BF9;&#x5E94;&#x4E8E;&#x56FE;&#x4E0A;&#x5750;&#x6807;&#xFF08;$X<em>{pixel}$, $Y</em>{line}$&#xFF09;&#x7684;&#x5B9E;&#x9645;&#x5730;&#x7406;&#x5750;&#x6807;&#x3002;&#x5BF9;&#x4E00;&#x4E2A;&#x4E0A;&#x5317;&#x4E0B;&#x5357;&#x7684;&#x56FE;&#x50CF;&#xFF0C;GT(2)&#x548C;GT(4)&#x7B49;&#x4E8E;0&#xFF0C; GT(1)&#x662F;&#x50CF;&#x5143;&#x7684;&#x5BBD;&#x5EA6;, GT(5)&#x662F;&#x50CF;&#x5143;&#x7684;&#x9AD8;&#x5EA6;&#x3002;&#xFF08;GT(0),GT(3)&#xFF09;&#x5750;&#x6807;&#x5BF9;&#x8868;&#x793A;&#x5DE6;&#x4E0A;&#x89D2;&#x50CF;&#x5143;&#x7684;&#x5DE6;&#x4E0A;&#x89D2;&#x5750;&#x6807;&#x3002;</p>
<p> &#x901A;&#x8FC7;&#x8FD9;&#x4E2A;&#x653E;&#x5C04;&#x53D8;&#x6362;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5F97;&#x5230;&#x56FE;&#x4E0A;&#x6240;&#x6709;&#x50CF;&#x5143;&#x5BF9;&#x5E94;&#x7684;&#x5730;&#x7406;&#x5750;&#x6807;&#x3002;</p>
<p>&#x53C2;&#x8003;&#x8D44;&#x6599;&#xFF1A;<a href="http://www.gdal.org/gdal_datamodel.html" target="_blank">GDAL Data Model</a></p>
<h2 id="&#x77E2;&#x91CF;&#x6570;&#x636E;&#x7EC4;&#x7EC7;">&#x77E2;&#x91CF;&#x6570;&#x636E;&#x7EC4;&#x7EC7;</h2>
<p>GDAL&#x7684;&#x77E2;&#x91CF;&#x6570;&#x636E;&#x6A21;&#x578B;&#x662F;&#x5EFA;&#x7ACB;&#x5728;<a href="http://www.opengeospatial.org/standards/sfa" target="_blank">OGC Simple Features</a>&#x89C4;&#x8303;&#x7684;&#x57FA;&#x7840;&#x4E4B;&#x4E0A;&#x7684;&#xFF0C;OGC Simple Features&#x89C4;&#x8303;&#x89C4;&#x5B9A;&#x4E86;&#x5E38;&#x7528;&#x7684;&#x70B9;&#x7EBF;&#x9762;&#x51E0;&#x4F55;&#x4F53;&#x7C7B;&#x578B;&#xFF0C;&#x53CA;&#x5176;&#x4F5C;&#x7528;&#x5728;&#x8FD9;&#x4E9B;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#x4E0A;&#x7684;&#x64CD;&#x4F5C;&#x3002;</p>
<p>OGR&#x77E2;&#x91CF;&#x6570;&#x636E;&#x6A21;&#x578B;&#x4E2D;&#x6BD4;&#x8F83;&#x91CD;&#x8981;&#x7684;&#x51E0;&#x4E2A;&#x6982;&#x5FF5;&#xFF1A;</p>
<ul>
<li>Geometry&#xFF08;<a href="http://www.gdal.org/classOGRGeometry.html" target="_blank">OGRGeometry</a>&#x7C7B;&#x8868;&#x793A;&#x4E86;&#x4E00;&#x4E2A;&#x7A7A;&#x95F4;&#x51E0;&#x4F55;&#x4F53;&#xFF0C;&#x5305;&#x542B;&#x51E0;&#x4F55;&#x4F53;&#x5B9A;&#x4E49;&#xFF0C;&#x7A7A;&#x95F4;&#x53C2;&#x8003;&#xFF0C;&#x4EE5;&#x53CA;&#x4F5C;&#x7528;&#x5728;&#x51E0;&#x4F55;&#x4F53;&#x4E4B;&#x4E0A;&#x7684;&#x7A7A;&#x95F4;&#x64CD;&#x4F5C;&#xFF0C;&#x51E0;&#x4F55;&#x4F53;&#x548C;OGC WKB&#xFF0C;WKT&#x683C;&#x5F0F;&#x76F4;&#x63A5;&#x7684;&#x5BFC;&#x5165;&#x5BFC;&#x51FA;&#xFF09;</li>
<li>Spatial Reference&#xFF08;<a href="http://www.gdal.org/classOGRSpatialReference.html" target="_blank">OGRSpatialReference</a>&#x7C7B;&#x8868;&#x793A;&#x4E86;&#x7A7A;&#x95F4;&#x53C2;&#x8003;&#x4FE1;&#x606F;&#xFF0C;&#x5404;&#x79CD;&#x683C;&#x5F0F;&#x7684;&#x7A7A;&#x95F4;&#x53C2;&#x8003;&#x7684;&#x5BFC;&#x5165;&#x5BFC;&#x51FA;&#xFF09;</li>
<li>Feature&#xFF08;OGRFeature&#x7C7B;&#x8868;&#x793A;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#xFF0C;&#x4E00;&#x4E2A;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#x662F;&#x4E00;&#x4E2A;&#x7A7A;&#x95F4;&#x51E0;&#x4F55;&#x4F53;&#x53CA;&#x5176;&#x5C5E;&#x6027;&#x7684;&#x96C6;&#x5408;&#xFF09;</li>
<li>Layer&#xFF08;OGRLayer&#x8868;&#x793A;&#x4E00;&#x4E2A;&#x56FE;&#x5C42;&#xFF0C;&#x4E00;&#x4E2A;&#x56FE;&#x5C42;&#x4E2D;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x5F88;&#x591A;&#x4E2A;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#xFF09;</li>
<li>Dataset&#xFF08;GDALDataset&#x62BD;&#x8C61;&#x7C7B;&#x8868;&#x793A;&#x4E00;&#x4E2A;&#x77E2;&#x91CF;&#x6570;&#x636E;&#xFF0C;&#x4E00;&#x4E2A;Dataset&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x591A;&#x4E2A;&#x56FE;&#x5C42;&#xFF09;</li>
</ul>
<p>&#x603B;&#x7ED3;&#x4E00;&#x4E0B;&#xFF1A;&#x4E00;&#x4E2A;&#x6570;&#x636E;&#x96C6;&#xFF08;Dataset&#xFF09;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x591A;&#x4E2A;&#x56FE;&#x5C42;&#xFF08;Layer&#xFF09;&#xFF0C;&#x4E00;&#x4E2A;&#x56FE;&#x5C42;&#x4E2D;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x591A;&#x4E2A;&#x7A7A;&#x95F4;&#x8981;&#x7D20;&#xFF08;Feature&#xFF09;&#xFF0C;&#x4E00;&#x4E2A;Feature&#x7531;&#x4E00;&#x4E2A;&#x7A7A;&#x95F4;&#x51E0;&#x4F55;&#x4F53;&#xFF08;Geometry&#xFF09;&#x53CA;&#x5176;&#x5C5E;&#x6027;&#x6784;&#x6210;</p>
<p>&#x53C2;&#x8003;&#x8D44;&#x6599;&#xFF1A;<a href="http://www.gdal.org/ogr_arch.html" target="_blank">OGR Architecture</a></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: GDAL空间数据处理">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="GDAL数据基本操作.html" class="navigation navigation-next " aria-label="Next page: GDAL数据基本操作">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"GDAL简介","level":"1.4.1","depth":2,"next":{"title":"GDAL数据基本操作","level":"1.4.2","depth":2,"path":"GDAL空间数据处理/GDAL数据基本操作.md","ref":"GDAL空间数据处理/GDAL数据基本操作.md","articles":[{"title":"打开栅格数据的正确方式","level":"1.4.2.1","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/打开栅格数据的正确方式.md","ref":"GDAL空间数据处理/GDAL数据基本操作/打开栅格数据的正确方式.md","articles":[]},{"title":"栅格数据格式转换","level":"1.4.2.2","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据格式转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据格式转换.md","articles":[]},{"title":"栅格数据创建与保存","level":"1.4.2.3","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据创建与保存.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据创建与保存.md","articles":[]},{"title":"读取HDF或者NetCDF格式的栅格数据","level":"1.4.2.4","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.md","ref":"GDAL空间数据处理/GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.md","articles":[]},{"title":"栅格数据投影转换","level":"1.4.2.5","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据投影转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据投影转换.md","articles":[]},{"title":"栅格数据裁剪","level":"1.4.2.6","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据裁剪.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据裁剪.md","articles":[]},{"title":"打开Shapefile文件的正确方式","level":"1.4.2.7","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/打开Shapefile文件的正确方式.md","ref":"GDAL空间数据处理/GDAL数据基本操作/打开Shapefile文件的正确方式.md","articles":[]},{"title":"创建Shapefile文件并写入数据","level":"1.4.2.8","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/创建Shapefile文件并写入数据.md","ref":"GDAL空间数据处理/GDAL数据基本操作/创建Shapefile文件并写入数据.md","articles":[]},{"title":"矢量数据投影转换","level":"1.4.2.9","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/矢量数据投影转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/矢量数据投影转换.md","articles":[]}]},"previous":{"title":"GDAL空间数据处理","level":"1.4","depth":1,"path":"GDAL空间数据处理/README.md","ref":"GDAL空间数据处理/README.md","articles":[{"title":"GDAL简介","level":"1.4.1","depth":2,"path":"GDAL空间数据处理/GDAL简介.md","ref":"GDAL空间数据处理/GDAL简介.md","articles":[]},{"title":"GDAL数据基本操作","level":"1.4.2","depth":2,"path":"GDAL空间数据处理/GDAL数据基本操作.md","ref":"GDAL空间数据处理/GDAL数据基本操作.md","articles":[{"title":"打开栅格数据的正确方式","level":"1.4.2.1","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/打开栅格数据的正确方式.md","ref":"GDAL空间数据处理/GDAL数据基本操作/打开栅格数据的正确方式.md","articles":[]},{"title":"栅格数据格式转换","level":"1.4.2.2","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据格式转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据格式转换.md","articles":[]},{"title":"栅格数据创建与保存","level":"1.4.2.3","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据创建与保存.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据创建与保存.md","articles":[]},{"title":"读取HDF或者NetCDF格式的栅格数据","level":"1.4.2.4","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.md","ref":"GDAL空间数据处理/GDAL数据基本操作/读取HDF或者NetCDF格式的栅格数据.md","articles":[]},{"title":"栅格数据投影转换","level":"1.4.2.5","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据投影转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据投影转换.md","articles":[]},{"title":"栅格数据裁剪","level":"1.4.2.6","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/栅格数据裁剪.md","ref":"GDAL空间数据处理/GDAL数据基本操作/栅格数据裁剪.md","articles":[]},{"title":"打开Shapefile文件的正确方式","level":"1.4.2.7","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/打开Shapefile文件的正确方式.md","ref":"GDAL空间数据处理/GDAL数据基本操作/打开Shapefile文件的正确方式.md","articles":[]},{"title":"创建Shapefile文件并写入数据","level":"1.4.2.8","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/创建Shapefile文件并写入数据.md","ref":"GDAL空间数据处理/GDAL数据基本操作/创建Shapefile文件并写入数据.md","articles":[]},{"title":"矢量数据投影转换","level":"1.4.2.9","depth":3,"path":"GDAL空间数据处理/GDAL数据基本操作/矢量数据投影转换.md","ref":"GDAL空间数据处理/GDAL数据基本操作/矢量数据投影转换.md","articles":[]}]},{"title":"Fiona矢量数据处理","level":"1.4.3","depth":2,"path":"GDAL空间数据处理/Fiona矢量数据处理/REDAME.md","ref":"GDAL空间数据处理/Fiona矢量数据处理/REDAME.md","articles":[{"title":"Fiona简介及Shapefile数据读取","level":"1.4.3.1","depth":3,"path":"GDAL空间数据处理/Fiona矢量数据处理/Fiona简介及Shapefile数据读取.md","ref":"GDAL空间数据处理/Fiona矢量数据处理/Fiona简介及Shapefile数据读取.md","articles":[]},{"title":"使用Fiona创建Shapefile矢量数据","level":"1.4.3.2","depth":3,"path":"GDAL空间数据处理/Fiona矢量数据处理/使用Fiona创建Shapefile矢量数据.md","ref":"GDAL空间数据处理/Fiona矢量数据处理/使用Fiona创建Shapefile矢量数据.md","articles":[]}]},{"title":"Rasterio栅格数据处理","level":"1.4.4","depth":2,"path":"GDAL空间数据处理/Rasterio栅格数据处理/README.md","ref":"GDAL空间数据处理/Rasterio栅格数据处理/README.md","articles":[{"title":"使用Rasterio读取栅格数据","level":"1.4.4.1","depth":3,"path":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio读取栅格数据.md","ref":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio读取栅格数据.md","articles":[]},{"title":"使用Rasterio创建栅格数据","level":"1.4.4.2","depth":3,"path":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio创建栅格数据.md","ref":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio创建栅格数据.md","articles":[]},{"title":"使用Rasterio做投影变换","level":"1.4.4.3","depth":3,"path":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio做投影变换.md","ref":"GDAL空间数据处理/Rasterio栅格数据处理/使用Rasterio做投影变换.md","articles":[]}]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"GDAL空间数据处理/GDAL简介.md","mtime":"2019-03-22T18:52:30.714Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-03-22T20:04:12.549Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

